{template head}
<body>
<div class="wrapper">
	<div class="crumbs"><span style="margin: 0 5px;color: #333;font-size: 14px;">财务管理</span> &gt; <span>沉淀资金统计</span> </div>
	<form action="{SITE_URL}index.php" method="get">
	<div class="container_tit clearfix mb20 ft14">
		<input type="hidden" name="a" value="{$parm[a]}" />
        <input type="hidden" name="m" value="{$parm[m]}" />
        <div class="btn_box fl" style="padding-top: 5px;">
        	<span>手机号码</span>
        	<input type="text" id="phone" name="phone" class="mr15 w200 text" value="{$parm['phone']}">
        </div>
        <div class="btn_box fl" style="padding-top: 5px;">
        	<span>用户姓名</span>
        	<input type="text" id="name" name="name" class="mr15 w200 text" value="{$parm['name']}">
        </div>

        <div class="btn_box fl" style="padding-top: 5px;">
        	<input type="submit" name="submit" class="btnblue mr15" value="搜索">
        </div>
    </div>
    <div class="container_tit clearfix mb20 ft14">
		<div class="btn_box fl" style="padding-top: 5px;">
			<input type="submit" name="daochu" class="btnyellow mr15" value="导出">
        </div>
        <div class="btn_box" style="padding-top: 5px;float:right;">
        	总返利余额：{$zye}元
        </div>
	</div>
	</form>
	<!-- list -->
	<table class="table">
		<thead>
			<th width="">手机号</th>
			<th width="">姓名</th>
			<th width="">返利余额(元)</th>
			<th width="">注册时间</th>
		</thead>
		<tbody>
		<!--{loop $list $key $one}--> 
			<tr>
				<td style="text-align: center;">{$one['loginname']}</td>
				<td style="text-align: center;">{$one['name']}</td>
				<td style="text-align: center;">{$one['sum']}</td>
				<td style="text-align: center;">{php echo time_formart($one['regtime'],2)}</td>
			</tr>
		<!--{/loop}-->
		</tbody>
	</table>
</div>

<!--{php pagenav($pageurl,$page,$pagetotal);}-->
{template foot}